package com.sundi.ecmarket.service.impl;

import com.sundi.ecmarket.dto.IssueDto;
import com.sundi.ecmarket.entity.EcIssue;
import com.sundi.ecmarket.mapper.EcIssueMapper;
import com.sundi.ecmarket.service.IEcIssueService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 常见问题表 服务实现类
 * </p>
 *
 * @author Mht
 * @since 2020-02-23
 */
@Service
public class EcIssueServiceImpl extends ServiceImpl<EcIssueMapper, EcIssue> implements IEcIssueService {

    @Override
    public List<EcIssue> selectIssueList(IssueDto issueDto) {
        return this.baseMapper.selectIssueList(issueDto);
    }

    @Override
    public void updateLogicDel(Integer id) {
        this.baseMapper.updateLogicDel(id);
    }

    @Override
    public EcIssue getStuOrder(Integer id) {
        return this.baseMapper.getStuOrder(id);
    }

    @Override
    public EcIssue getStuXiaOrder(Integer id) {
        return this.baseMapper.getStuXiaOrder(id);
    }
}
